package cn.com.jslh.boarpro.main.presenter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;

import net.idik.lib.slimadapter.SlimAdapter;
import net.idik.lib.slimadapter.SlimAdapterEx;
import net.idik.lib.slimadapter.SlimInjector;
import net.idik.lib.slimadapter.viewinjector.IViewInjector;

import cn.com.jslh.boarpro.R;
import cn.com.jslh.boarpro.main.contract.GoZhuSheContract;

/**
 * Created by Administrator on 2017/10/18.
 */

public class GoZhuShePresenterImpl implements GoZhuSheContract.Presenter {

    private GoZhuSheContract.View view;
    private SlimAdapter slimAdapter;
    private Context context;
    public GoZhuShePresenterImpl(GoZhuSheContract.View view,Context context){
        this.view = view;
        this.context = context;
    }
    @Override
    public void start() {

    }

    @Override
    public void bindRV(RecyclerView recyclerView) {
//        slimAdapter = SlimAdapter.create(SlimAdapterEx.class)
//                .enableDiff()
//                .enableEmptyView(context, R.layout.empty_layout)
//                .registerDefault(R.layout.duan_nai_list_item, new SlimInjector() {
//                    @Override
//                    public void onInject(Object data, IViewInjector injector) {
//
//                    }
//                }).attachTo(recyclerView);
    }
}
